package com.sp.scmdb.daoImpl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.sp.scmdb.common.dao.BaseDaoSupport;
import com.sp.scmdb.dao.EmployeeDao;
import com.sp.scmdb.entity.Employee;

@Repository
public class EmployeeDaoImpl extends BaseDaoSupport<Employee> implements
		EmployeeDao {
	@SuppressWarnings("unchecked")
	public List findBySql(String sql) {
		return findByQueryOfSql(sql);
	}

	@SuppressWarnings("unchecked")
	public List findByHql(String Hql) {
		return findByQuery(Hql);
	}

}
